﻿using System;
using System.Collections.Generic;

namespace MvcPrinciples.Models
{
	public class Person
	{
		public Guid Id { get; set; }
		public string Name { get; set; }
		public DateTime BirthDate { get; set; }
		public KeyValuePair<Guid, string> Image { get; set; }
		public int Age
		{
			get { return DateTime.Now.Year - BirthDate.Year; }
		}
	}
}